package com.huixh.train.business.fegin;

import com.huixh.train.common.req.MemberTicketReq;
import com.huixh.train.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author huixh
 */
@FeignClient(name = "train-member")
public interface MemberFegin {
    /**
     *  保存车票信息
     * @param req 车票信息
     * @return 保存结果
     */
    @GetMapping("/member/feign/ticket/save")
    Result<String> save(@RequestBody MemberTicketReq req);
}
